#ifndef _BOARD_SPI_H_
#define _BOARD_SPI_H_

#include "stm32f4xx_hal.h"

extern SPI_HandleTypeDef spi1handler;

typedef enum {
	SPI_ADIS16405 = 0
} spi_periph;

void board_spi_init(SPI_HandleTypeDef *spihandler);

void spi_select(spi_periph dev, uint8_t state);

#endif
